//
// Created by tanzx on 2023/12/8.
//
#include <iostream>
#ifndef UNTITLED_SHAPE_H
#define UNTITLED_SHAPE_H

class Shape {
public:
    virtual void draw() {
        std::cout << "Drawing a Shape" << std::endl;
    }
};
class Rectangle : public Shape {
public:
    void draw() override {
        std::cout << "Drawing a Rectangle" << std::endl;
    }
};

void test_virtual();
#endif //UNTITLED_SHAPE_H
